﻿using MediatR;
using Traceability.App.ErrorCode;

namespace Traceability.App.API.Application.Command.BasicTraceability
{
    public class UpdBasicTraceabilityCommand : IRequest<APIResult<int>>
    {
        public int Id { get; set; }
        /// <summary>
        /// 商品Id
        /// </summary>
        public int GoodId { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public int Batch { get; set; }
        /// <summary>
        /// 保质期(天)
        /// </summary>
        public int QGPeriod { get; set; }
        /// <summary>
        /// 生产许可证号
        /// </summary>
        public string PLNumber { get; set; }
        /// <summary>
        /// 生成企业
        /// </summary>
        public string Manufacturer { get; set; }
        /// <summary>
        /// 信息完善度
        /// </summary>
        public int Information { get; set; }
        /// <summary>
        /// 封面图
        /// </summary>
        public string CoverImg { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateDate { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdateName { get; set; }
    }
}
